export const request=(method,url,data,header)=>{
    return new Promise((resolve,reject)=>{
        wx.request({
            // ...params,
            method:method,
            url:url,
            data:{
                rubbishClassName:data
            },
            success:(result)=>{
                resolve(result);
            },
            fail:(err)=>{
                reject(err);
            }
        });
    })
}